home *** CD-ROM | disk | FTP | other *** search
- #ifndef __FUTURESDEMO__
- #define __FUTURESDEMO__
-
- #ifndef __APPLEEVENTS__
- #include <AppleEvents.h>
- #endif
-
- #define kSillyEventClass 'sily'
- #define kPingEvent 'ping'
- #define kPing1Event 'png1'
- #define kPing2Event 'png2'
-
- enum
- {
- cPing = 998,
- cPing2 = 999
- };
-
- pascal OSErr HandlePing(AppleEvent question, AppleEvent answer, long handlerRefcon);
- pascal OSErr HandlePing1(AppleEvent question, AppleEvent answer, long handlerRefcon);
- pascal OSErr HandlePing2(AppleEvent question, AppleEvent answer, long handlerRefcon);
-
- void SendSimpleAEvt(AEEventClass theAEEventClass, AEEventID theAEEventID);
-
- pascal void InitFuturesDemo(void);
- pascal void CleanupFuturesDemo(void);
-
- #endif // __FUTURESDEMO__
-
-